-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(base-zone,zone): import isPassable
from @endo/pass-style
#9230
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deploying agoric-sdk with Cloudflare Pages
|
erights
force-pushed
the
markm-delegate-is-passable
branch
from
April 14, 2024 21:05
fd57c61
to
d4ef47a
Compare
erights
changed the title
fix(base-zone,zone): import isPassable from @endo/pass-style
fix(base-zone,zone): import Apr 14, 2024
isPassable
from @endo/pass-style
michaelfig
requested changes
Apr 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is a way to mark a conventional commit as a breaking change (note that the parenthesised portion of the commit message cannot contain commas):
fix(base-zone)!: do not export `isPassable`; it is available from `@endo/pass-style`
erights
force-pushed
the
markm-delegate-is-passable
branch
from
April 28, 2024 20:03
d4ef47a
to
978b621
Compare
erights
force-pushed
the
markm-delegate-is-passable
branch
from
April 28, 2024 20:04
a644c32
to
3ba8c71
Compare
PTAL, thanks |
michaelfig
approved these changes
Apr 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes: #XXXX
refs: endojs/endo#2096 endojs/endo#2042
Description
Deleting @agoric/base-zone's implementation of
isPassable
completes the migration ofisPassable
from @agoric/base-zone to @endo/pass-style explained in endojs/endo#2096 and started in endojs/endo#2042The remaining issue explained in endojs/endo#2096 , changing how
isPassable
is implemented, remains to be done in @endo/pass-style. But this need no longer concern us here since that difference will now be encapsulated from us.Security Considerations
None
Scaling Considerations
We know that
passStyleOf
remains a performance hotspot that needs attention. This PR does not affect that at all. But I'll note that the remaining suggested change from endojs/endo#2096 --- to implementisPassable
andpassStyleOf
in terms of a more expressive internal function parameterized by a checker --- might make this performance issue worse. Just something to keep in mind as we tunepassStyleOf
. Attn @gibson042Documentation Considerations
none
Testing Considerations
none
Upgrade Considerations
As of this PR, @agoric/base-zone also no longer exports
isPassable
, potentially breaking importers outside agoric-sdk until they are modified to import it from @endo/pass-style as well. This PR does take care of all such import sites within agoric-sdk.If this turns out to be a problem in practice, this PR could be changed to have @agoric/base-zone reexport the
isPassable
it imports from @endo/pass-style, but deprecate that reexport, leaving it to future work to change those old import sites outside agoric-sdk.